"use strict";

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up(queryInterface, Sequelize) {
    await queryInterface.bulkInsert(
      "PublicTypes",
      [
        {
          classify: 0,
          name:'创建社团',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          classify: 0,
          name:'社团信息修改',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          classify: 0,
          name:'解散社团',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          classify: 0,
          name:'社团换届',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
      ],
      {}
    );
  },

  async down(queryInterface, Sequelize) {
    await queryInterface.bulkDelete("PublicTypes", null, {});
  },
};
